export async function getCost(query: any) {
  return {
    costManage: 123,
    costManageReality: 25,
    customCost: 53,
    customCostReality: 123,
    deviceCost: 43,
    deviceCostReality: 32,
    materialCost: 23,
    materialCostReality: 123
  }
}

export async function getFinishAmount(query: any) {
  return {
    currentMoon: 4,
    currentYear: 2018,
    designAmount: 13,
    finishAmount: 83,
    finishAmountHistogram: [
      {
        date: '2022-01',
        designAmount: 24,
        finishAmount: 14,
        sort: 0
      },
      {
        date: '2022-02',
        designAmount: 245,
        finishAmount: 243,
        sort: 0
      }
    ],
    finishAmountPercentage: 0,
    finishMoon: 0,
    finishMoonPercentage: 0,
    finishYear: 0,
    finishYearPercentage: 0,
    specialityType: [
      {
        finishAmount: 12,
        finishPercentage: 203,
        specialityTypeName: '测试1'
      },
      {
        finishAmount: 12,
        finishPercentage: 20,
        specialityTypeName: '测试2'
      },
      {
        finishAmount: 12,
        finishPercentage: 20,
        specialityTypeName: '测试3'
      }
    ],
    subcontractor: [
      {
        finishAmount: 12,
        finishPercentage: 20,
        specialityTypeName: '测试3'
      },
      {
        finishAmount: 122,
        finishPercentage: 320,
        specialityTypeName: '测11试3'
      }
    ]
  }
}

export async function getHeadData(query: any) {
  return {
    contractAmount: 123,
    finishAmount: 123,
    finishAmountPercentage: 123,
    projectNumber: 123,
    subcontractorNumber: 123,
    supplierNumber: 123,
    userNumber: 123
  }
}

export async function getLabour(query: any) {
  return {
    labourMembers: [
      {
        date: '2018',
        labourMembersNumber: 123,
        sort: 0
      },
      {
        date: '2016',
        labourMembersNumber: 1243,
        sort: 0
      },
      {
        date: '2019',
        labourMembersNumber: 1443,
        sort: 0
      }
    ],
    labourMembersNumber: 140,
    labourTeamNumber: 164
  }
}
export async function getMaterial(query: any) {
  return {
    inputAmount: 14,
    inventoryAmount: 16,
    materials: [
      {
        inputNumber: 13,
        inventoryNumber: 32,
        materialName: '测试',
        outNumber: 0
      },
      {
        inputNumber: 43,
        inventoryNumber: 0,
        materialName: '测试',
        outNumber: 43
      },
      {
        inputNumber: 43,
        inventoryNumber: 0,
        materialName: '测试',
        outNumber: 43
      },
      {
        inputNumber: 43,
        inventoryNumber: 0,
        materialName: '测试',
        outNumber: 43
      },
      {
        inputNumber: 43,
        inventoryNumber: 0,
        materialName: '测试',
        outNumber: 43
      },
      {
        inputNumber: 43,
        inventoryNumber: 0,
        materialName: '测试',
        outNumber: 43
      },
      {
        inputNumber: 43,
        inventoryNumber: 0,
        materialName: '测试',
        outNumber: 43
      }
    ],
    outAmount: 0
  }
}
export async function getProjectContract(query: any) {
  return [
    { contractAmount: 100, projectName: '测试', subsidiaryName: '测试' },
    { contractAmount: 100, projectName: '测试', subsidiaryName: '测试' }
  ]
}
export async function getProjectSettle(query: any) {
  return {
    belowTotalAmount: 23,
    contractAmount: [
      {
        contractAmount: 14,
        subcontractorName: '测试122'
      },
      {
        contractAmount: 14,
        subcontractorName: '测试122'
      },
      {
        contractAmount: 14,
        subcontractorName: '测22'
      },
      {
        contractAmount: 14,
        subcontractorName: '2'
      },
      {
        contractAmount: 14,
        subcontractorName: '测试12232'
      },
      {
        contractAmount: 14,
        subcontractorName: '测试12322'
      },
      {
        contractAmount: 14,
        subcontractorName: '测试1243222'
      },
      {
        contractAmount: 12,
        subcontractorName: '测试1244324332'
      },
      {
        contractAmount: 12,
        subcontractorName: '测试12324332'
      },
      {
        contractAmount: 13,
        subcontractorName: '测试1读书多读书42'
      },
      {
        contractAmount: 13,
        subcontractorName: '测试1读书多读书42'
      },
      {
        contractAmount: 13,
        subcontractorName: '测试书多读书42'
      },
      {
        contractAmount: 13,
        subcontractorName: '测试1读书读书42'
      },
      {
        contractAmount: 13,
        subcontractorName: '测试1多读书42'
      },
      {
        contractAmount: 13,
        subcontractorName: '测试1读书多读书42'
      }
    ],
    foldLine: [
      {
        belowAmount: 1233,
        date: '2014',
        projectAmount: 132,
        sort: 0,
        upperAmount: 1234
      },
      {
        belowAmount: 4323,
        date: '2015',
        projectAmount: 1432,
        upperAmount: 3424
      },
      {
        belowAmount: 4323,
        date: '2015',
        projectAmount: 2333,
        sort: 0,
        upperAmount: 5315
      }
    ],
    projectTotalAmount: 1234,
    upperTotalAmount: 4
  }
}
export async function getQualityAndSecure(query: any) {
  return {
    oneExcellent: 32.2,
    qualityEducation: 0,
    qualityInspect: 1,
    qualityTroubleshooting: 2,
    secureAccumulateProduce: 3,
    secureEducation: 4,
    secureInspect: 5,
    secureTroubleshooting: 8,
    threeExcellent: 12.2,
    twoExcellent: 42.23
  }
}
export async function getMonitor(query: any) {
  return [
    {
      monitorAddress: '11',
      monitorName: '监控1'
    },
    {
      monitorAddress: '11',
      monitorName: '监控2'
    },
    {
      monitorAddress: '11',
      monitorName: '监控3'
    }
  ]
}
export async function getProjectMap(query: any) {
  return [
    {
      monitorAddress: '',
      monitorName: ''
    }
  ]
}
export async function getSupplyMaterial(query: any) {
  return {
    concretePurchaseAmount: 3,
    concreteTotalAmount: 124,
    inventoryAmount: 124,
    materialTotalAmount: 3,
    otherPurchaseAmount: 14,
    otherTotalAmount: 14,
    purchaseAmount: 14,
    rebarPurchaseAmount: 14,
    rebarTotalAmount: 13
  }
}
